package xyz.bali16.module.link.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.bali16.module.link.entity.Link;
import xyz.bali16.module.link.model.LinkAddParam;
import xyz.bali16.module.link.model.LinkPageParam;
import xyz.bali16.module.link.model.LinkUpdateParam;


/**
 * @author bali2 on 9/3/2023.
 * @version 1.0
 */
public interface LinkService extends IService<Link> {

    IPage<Link> getPage(LinkPageParam param);

    void addLink(LinkAddParam param) throws Exception;

    void updateLink(LinkUpdateParam param) throws Exception;

    void updateStatus(String navId, Integer status) throws Exception;


    void delete(String navId) throws Exception;

}
